//
//  PopoverAction.swift
//  ZZUI
//
//  Created by 张文晏 on 2018/11/9.
//  Copyright © 2018 张文晏. All rights reserved.
//

import Foundation

public struct PopoverAction {
    var image: UIImage?
    var title = ""
    var handler: ((_ action: PopoverAction) -> Void)?
    
    public init(
        image: UIImage? = nil,
        title: String,
        handler: ((_ action: PopoverAction) -> Void)? = nil
        ) {
        self.image = image
        self.title = title
        self.handler = handler
    }
}
